Skip to content

GH-41951: [Java] Add @FormatMethod annotations - #43376

Merged
lidavidm merged 1 commit into
apache:mainfrom
laurentgo:laurentgo/fix-41951
Jul 23, 2024
Merged

lidavidm merged 1 commit into
apache:mainfrom
laurentgo:laurentgo/fix-41951

Conversation

@laurentgo

@laurentgo laurentgo commented Jul 22, 2024 •

Copy link
Copy Markdown
Contributor

What changes are included in this PR?

Annotate several methods using format-like string with error-prone @FormatMethod and @FormatString annotations.

Update error-prone version to 2.29.2 and remove unused error-prone javac version property.

Are these changes tested?

CI/CD

Are there any user-facing changes?

None

Annotate several methods using format-like string with error-prone
@FormatMethod and @FormatString annotations

Update error-prone version to 2.29.2 and remove unused error-prone javac
version property
@laurentgo
laurentgo requested a review from lidavidm as a code owner July 22, 2024 22:29
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #41951 has been automatically assigned in GitHub to PR creator.

@lidavidm lidavidm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lidavidm

Copy link
Copy Markdown
Member

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: 721c774

Submitted crossbow builds: ursacomputing/crossbow @ actions-f01d092979

Task Status
java-jars GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-java-macos-amd64 GitHub Actions

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 5eea5c9.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
### What changes are included in this PR?

Annotate several methods using format-like string with error-prone `@ FormatMethod` and `@ FormatString` annotations.

Update error-prone version to 2.29.2 and remove unused error-prone javac version property.

### Are these changes tested?
 
CI/CD

### Are there any user-facing changes?

None

* GitHub Issue: apache#41951

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants